package org.jeecg.common.constant;

public class ProcessConstant {
	
	//库存管理申请单processcode 采购单审批时用到
//	public final static String KCPROCESSCODE="PROC-DC326BC5-F99D-4D3B-A8C9-FD3464CCCCD3";
	public final static String KCPROCESSCODE="PROC-69A86886-CCCE-46D8-86D5-CD66E15358CC";
	//往来管理申请单processcode
	public final static String WLPROCESSCODE="PROC-5A61F4A2-FAAA-4721-9097-0D86B7DA42EE";
	
//	public final static String APPKEY="dingo8voj2kclad5xdma";;
//	public final static String APPSECRET="_x3tMe4lUbJSGStvAIAZiWYZaQYFz74cnDuCR8VBcS4xey-THWzHznWGpIU7Pna9";
//	public final static String AGENTID="836958846";
	public final static String APPKEY="dingz8opefsthm6ij9jq";;
	public final static String APPSECRET="0uIaHyy6u4ahT11jUk79h7MX_NV0DVn6zzMoKnmaTeUvNwPxnrUGdgPuNPo0h1xL";
	public final static String AGENTID="971408566";
	public final static String HOST="https://oapi.dingtalk.com";
	//获取token的url
	public final static String URL_GETTOKEN=HOST+"/gettoken";
	//获取ticket
	public final static String URL_GETJSAPITICKET=HOST+"/get_jsapi_ticket";
	//查询活跃用户URL
	public final static String URL_GETINACTIVEUSER=HOST+"/topapi/inactive/user/get";
	//获取待我审批数量
	public final static String URL_GETTONUM=HOST+"/topapi/process/gettodonum";
	//根据用户ID查询可见审批列表
	public final static String URL_LISTBYUSERID=HOST+"/topapi/process/listbyuserid";
	//创建审批
	public final static String URL_CREATEPROCESS=HOST+"/topapi/processinstance/create";
	//分页获取审批实例id
	public final static String URL_GETLISTIDS=HOST+"/topapi/processinstance/listids";
	//获取所有部门接口
	public final static String URL_GETALLDEPARTMENTS=HOST+"/department/list";
	//创建部门接口
	public final static String URL_CREATEDEPARTMENT=HOST+"/department/create";
	//删除部门接口
	public final static String URL_DELETDEPARTMENT=HOST+"/department/delete";
	//创建用户
	public final static String URL_CREATEUSER=HOST+"/user/create";
	//删除钉钉用户
	public final static String URL_DELETEUSER=HOST+"/user/delete";
	//根据手机号获取钉钉用户
	public final static String URL_GETUSERBYMOBILE=HOST+"/user/get_by_mobile";
	//更新部门信息
	public final static String URL_UPDATEDEPARTMENT=HOST+"/department/update";
	//更新用户信息
	public final static String URL_UPDATEUSE=HOST+"/user/update";
	//发送钉钉工作消息通知
	public final static String URL_MESSAGE=HOST+"/topapi/message/corpconversation/asyncsend_v2";
	//发送钉盘文件给指定用户
	public final static String URL_CSPACE=HOST+"/cspace/add_to_single_chat";
	//上传媒体文件
	public final static String URL_UPFILEMT=HOST+"/media/upload";

}
